﻿@{
    ViewBag.Title = "MKAdmin管理系统";
    Layout = "/Views/Shared/_Layout.cshtml";
}
@using MKAdminCore.DTO.Web.Common
@using MKAdminCore.ToolKit.Config

@model UserInfo

@section Styles {
    <link href="@PageCssFilesConfig.CommunicateRegexIndex" rel="stylesheet" />
}

<div class="" style="margin-left:10px; margin-top:10px;">
    <div class="layui-form-item">
        <a class="layui-btn layui-btn-normal btn_color_confirm zf_h25 btn_regex_match"
           data-regexPattern="LetterNum" data-type="reload">验证纯字母或数字</a>
        <a class="layui-btn layui-btn-normal btn_color_confirm zf_h25 btn_regex_match"
           data-regexPattern="NumOnly" data-type="reload">验证纯数字</a>
        <a class="layui-btn layui-btn-normal btn_color_confirm zf_h25 btn_regex_match"
           data-regexPattern="Email" data-type="reload">验证是否是邮箱</a>
        <a class="layui-btn layui-btn-normal btn_color_confirm zf_h25 btn_regex_match"
           data-regexPattern="MobilePhone" data-type="reload">验证是否是手机号</a>
        <a class="layui-btn layui-btn-normal btn_color_confirm zf_h25 btn_regex_match"
           data-regexPattern="Link" data-type="reload">验证是否是链接</a>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">正则表达式</label>
        <div class="layui-input-inline">
            <input type="text" name="title" style="width:450px;"
                   id="txt_Communicate_RegexContent" placeholder="请填写正则表达式"
                   class="layui-input zf-fixed-length zf_h25">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">内容</label>
        <div class="layui-input-inline">
            <textarea class="layui-textarea" id="txt_Communicate_TextContent" style="width:450px;" rows="8">
</textarea>
            @*<input type="text" name="title" style="width:450px;"
                id="txt_Communicate_Subject" placeholder="请填写内容"
                class="layui-input zf-fixed-length zf_h25 w_200">*@
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <a class="layui-btn layui-btn-normal btn_color_confirm zf_h25"
               id="btn_Communicate_GetResult" data-type="reload">测试匹配</a>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">匹配结果</label>
        <div class="layui-input-inline">
            <textarea class="layui-textarea" id="txt_Communicate_Result" style="width:450px;" readonly rows="8">
</textarea>
            @*<input type="text" name="title" style="width:450px;"
                id="txt_Communicate_Subject" placeholder="请填写内容"
                class="layui-input zf-fixed-length zf_h25 w_200">*@
        </div>
    </div>
</div>

@section Scripts {
    <script type="text/javascript" src="@PageJsFilesConfig.CommunicateRegexIndex"></script>
}
